﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMaintainGIS.Model.Remote
{
    /// <summary>
    /// 远程服务信息
    /// </summary>
    public class RemoteRequest
    {
        /// <summary>
        /// 远程服务ID
        /// </summary>
        public string RelationGuid { get; set; }
        /// <summary>
        /// 报修编号
        /// </summary>
        public string RepairId { get; set; }
        /// <summary>
        /// 服务方式
        /// </summary>
        public string ServiceType { get; set; }
        /// <summary>
        /// 外部支持
        /// </summary>
        public string Support { get; set; }
        /// <summary>
        /// 服务安排
        /// </summary>
        public int FixUp { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 维修或换新
        /// </summary>
        public int RepairOrChange { get; set; }
        /// <summary>
        /// 反馈
        /// </summary>
        public int Feedback { get; set; }
        /// <summary>
        /// 提交状态 0保存 1提交 -1结束
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 出现场用户
        /// </summary>
        public int[] userIDs { get; set; }
        /// <summary>
        /// 车牌
        /// </summary>
        public string PlateNumber { get; set; }
        /// <summary>
        /// 出现场时间
        /// </summary>
        public System.DateTime SceneTime { get; set; }
        /// <summary>
        /// 出现场时间上午或下午
        /// </summary>
        public System.DateTime EndTime { get; set; }
        /// <summary>
        /// 当前操作人
        /// </summary>
        public int OperatorID { get; set; }
        /// <summary>
        /// 下一步操作人
        /// </summary>
        public int NextOperatorID { get; set; }
        /// <summary>
        /// 操作步骤
        /// </summary>
        public int Step { get; set; }

    }


    /// <summary>
    /// 报修查询信息
    /// </summary>
    public class RemoteSelectRequest
    {
        public RemoteSelectRequest()
        {
            this.OperatorID = -1;
            this.Step = -1;
            this.PageIndex = 1;
            this.PagesSize = 20;
        }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 当先显示多少条
        /// </summary>
        public int PagesSize { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public int OperatorID { get; set; }
        /// <summary>
        /// 操作步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 报修编号
        /// </summary>
        public string RepairId { get; set; }
        /// <summary>
        /// 远程服务ID
        /// </summary>
        public string RelationGuid { get; set; }
    }
}
